from scrapy.item import Item, Field
import  scrapy

class Website(Item):
    name = Field()
    description = Field()
    url = Field()

##### kaola start #####
class kaolaItem(scrapy.Item):
    name = scrapy.Field() #商品名
    url = scrapy.Field() #网址
    picUrl = scrapy.Field() #图片网址
    price = scrapy.Field() #售价
    singlePrice = scrapy.Field() #单件价
    tag = scrapy.Field() #标签（活动、自营）
    area = scrapy.Field() #产地
    commentCount = scrapy.Field() #评论数量

    # def __init__(self):
        # self.name = ""
        # self.url = ""
        # self.picUrl = ""
        # self.price = ""
        # self.picUrl = ""
        # self.singlePrice = ""
        # self.tag = ""
        # self.area = ""
        # self.commentCount = ""

##### kaola end #####
